package com.starry.core.constant


/**
 * Package:com.starry.dotpen_patients.utils
 * Author:starr
 * Time:2024/1/3 20:22
 * Description:
 */
object GlobalConfig {
    /**
     * 文心一言 网络配置
     */
    const val client_KEY = "vRupmhqWrs92Z2X3gOGCaTSf"
    const val SECRET_KEY = "SVvuLCqYyj5BH5eQgarxHydcycnsTd9h"

    /**
     * 手写识别 网络配置
     */
    const val write_client_key = "DZX1xOujGZziZVGk2EjrMcmV"
    const val write_secret_key = "Os4IMCsUF4Lrmr1C3c1ICZoAxeapwRgP"

    /**
     * 基础业务功能 url
     */
//    校园网测试环境
//        fun getBaseServerUrl():String {
//            return "http://192.168.137.1:8080/renren-fast/";
//        }
    //云上生成环境
    fun getBaseServerUrl(): String {
        return "http://123.60.68.253:8080/renren-fast/"
    }

    /**
     * 前端图片保存路径
     */
    fun getVueServerUrl(): String {
        return "http://8.130.124.187:8088/"
    };


    /**
     * 文心一言 url
     */
    fun getBaiduUrl(): String {
        return "https://aip.baidubce.com/"
    }

    /**
     * sp本地键值对存储
     */
    const val userPhone = "userPhone"
    const val userPassword = "userPassword"
    const val userImg = "userImg"
    const val chat_Token = "chatToken"
    const val userId = "userId"
    const val userName = "userName"
}